<!--
 * @Descripttion: 
 * @version: 1.0.0
 * @Author: 孙立政
 * @Date: 2021-12-16 19:33:18
 * @LastEditors: 孙立政
 * @LastEditTime: 2021-12-16 22:04:51
-->
<template>
  <div class="yx-box">
    <div class="title">
      <div>点滴严选</div>
      <div class="title-tag">会员专享</div>
    </div>
    <div class="explain">探寻源头好货</div>
    <div class="goods">
      <div class="goods-list">
        <div class="item">
          <div class="goods-img">
            <img
              src="https://diandi-app.oss-cn-hangzhou.aliyuncs.com/appV3/home/sc/activity/goods.png"
              alt=""
            />
          </div>
          <div class="price">￥66</div>
        </div>
        <div class="item">
          <div class="goods-img">
            <img
              src="https://diandi-app.oss-cn-hangzhou.aliyuncs.com/appV3/home/sc/activity/goods.png"
              alt=""
            />
          </div>
          <div class="price">￥66</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { onMounted } from 'vue'
</script>

<style lang="scss" scoped>
.yx-box {
  height: 300px;
  margin-top: 25px;
  .title {
    height: 45px;
    line-height: 45px;
    font-size: 35px;
    font-family: PingFangSC-Medium;
    color: #333;
    opacity: 0.9;
    display: flex;
    .title-tag {
      width: 150px;
      height: 35px;
      line-height: 35px;
      border-radius: 23px;
      font-size: 21px;
      font-family: PingFangSC;
      color: #fff;
      text-align: center;
      background: linear-gradient(257deg, #21d33a 30%, #59eb43 93%);
      margin-left: 10px;
      margin-top: 5px;
    }
  }
  .explain {
    font-size: 23px;
    color: #999;
  }
  .goods {
    .goods-list {
      width: 92%;
      //   margin: 0 auto;
      display: flex;
      justify-content: space-between;
      img {
        width: 100%;
      }
      .goods-img {
        height: 140px;
        margin-top: 10px;
      }
      .item {
        width: 140px;
        .price {
          width: 100px;
          height: 30px;
          margin: 0 auto;
          border-radius: 15px;
          text-align: center;
          background: linear-gradient(120deg, #fe9428 0%, #ff6610 50%, #ff6610);
          font-size: 23px;
          color: #fff;
          margin-top: 20px;
        }
        .or-price {
          width: 100px;
          margin: 0 auto;
          text-align: center;
          font-size: 20px;
          text-decoration: line-through;
          color: #999;
        }
      }
    }
  }
}
</style>
